package com.dd.entity;

import java.util.Date;

/**
 * DdShop entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class DdShop implements java.io.Serializable {
	//是否有xx属性的integer,默认 0无1有   特殊情况另外标注
	
	//========new add
	private String bankacc = "";		// 收款人账号
	private String bankaccname = "";	// 收款人姓名
	private Integer isnew = 0;			// 是不是新合同导入商家
	private Date enddate=null;
	private Integer shopstyle = 1;		// 商家类型
	private Integer shoptype = 0;		// 0独家经营,1连锁
	private String bossphone = "";		// 联系电话3
	private String bookreq = "";		// 订位须知
	private Integer loge0 = 1;			// 有没大厅
	private Integer loge1 = 1;			// 有没包厢
	//前段定位要求改为 随意,大厅,包厢,特殊
	private Integer wifi = 0;			// 有无wifi
	private Integer park = 0;			// 有无停车场  特殊情况 -1 无,0免费,>1收费(数字为具体费用)
	private Integer visa = 0;			// 能否刷卡
	private String otherservice = "";	// 其他服务,可以没有
	//送餐新增字段
	private Integer sendtype = 0;// 0:外送,1自取
	private String sendtime = "";// 送餐时间
	private String sendrange = "";// 送餐范围
	private String sendfee = "0";  // 送餐费用,0免费 大于0收费
	private String sendreq = "";  // 起送 条件
	private Integer sendpaymethod = 1;// 付款方式,1到付,2在线付款
	private String senddiscount = "";// 送餐优惠
	//==优惠券部分
	private String coupon1 = "";  // 优惠券1
	private String coupon2 = "";  // 优惠券2
	private String coupon3 = "";  // 优惠券3
	private String bookpriceuse = "";
	//=========new add
	//edit
	private String posx = "0";// 百度地图x坐标
	private String posy = "0";//  百度地图y坐标
	private String posx_g = "0";// google地图x坐标
	private String posy_g = "0";//  google地图y坐标
	private String shophours = "";// 营业时间
	private String name = "";// 商家名称,完整的,比如xxxxc(五四店)
	private String name1 = ""; //简要的店名,不需要后缀
	private Float bookprice = 10.00F; // 订金
	private String bookpricedes =""; // 定金用途(抵用消费金额,或者赠送菜品等..)
	private Float discount = 0F; // 折扣--给定位用
	private Integer iscoupon = 0;// 是否有优惠券
	private Integer loge = 0; // 商家是否有包厢0否1是2有包厢,且预定价格分开算
	//edit
	// Fields
	private Integer issend = 0;// 是否送餐:0不送1送
	private Integer isbooking = 0;// 是否接受定位:0否1是
	
	private Integer addscore=10;// 预定积分
	private Integer booktype=0;// 预定类型
	private Integer id;// 主键ID
	private Integer type=1;// 类型
	
	
	private Integer styleType = 5;// 餐厅类型 中餐厅
	private Long style = 1L;// 菜系,风格 闽菜，粤菜
	private String stylevalue = "";// 餐厅类型文字 中餐厅，闽菜，粤菜
	private Integer cost = 1;// 人均消费
	private String suggest = "";// 商家推荐
	private String phone = "";// 联系电话
	private String mobile = "";//手机(接短信手机号)
	private String address = "";// 地址
	private String area = "0";// 地区
	private String road = "";// 路段
	private String landmark = "";// 地标(附近标志性建筑,如环球广场,省体育中心等)
	private String range = "";// 配送范围(送餐模块使用)
	private String bus = "";// 公交路线
	private String parking = "";// 停车场情况
	private String description = "";// 商家描述,简介
	private String description2 = "";// 商家预定描述
	private Integer purpose = 1;// 目的.用途(朋友聚会.商务会议,情侣约会等)
	private String purposevalue = "";// 目的.用途(朋友聚会.商务会议,情侣约会等)说明
	private String service = "";// 服务
	private String number = "";// 证件号
	private String numbertype = "";// 证件类型
	private Integer belong=2;// 归属哪个业务员
	private String pic1 = "0";// 图片1 首页广告图片（如果该商家首页有做广告。必传）
	private String pic2 = "0";// 图片2 搜索结果缩略图（必传）
	private String pic3 = "0";// 图片3 3-7 商家详情轮显图（至少一张）
	private String pic4 = "0";// 图片4
	private String pic5 = "0";// 图片5
	private String pic6 = "0";// 图片6
	private String pic7 = "0";// 图片7
	private String pic8 = "0";// 图片8 商家活动简介图
	private String pic9 = "0";// 图片9 商家活动详情图
	private String picht = "0";// 合同
	
	private Integer delay = 0;// 延后天数
	private Integer delay2 = 0;// 延后小时

	private Integer hot = 0;// 热度,点击率.调用一次shopinfo就+1
	private String title = ""; // html页面title元素
	private String keyword = ""; // html页面keyword元素
	private String url = ""; // 伪静态页面的url
	private String des = ""; // html页面description元素
	
	private Float bookprice2 = 10.00F; // 订金(包厢价)
	private String bookprice2des =""; // 订金(包厢价)抵用
	private Date discountbeg = null;// 活动开始时间
	private Date discountend = null;// 活动结束时间
	private Float discountprice = 10.00F; // 活动期间价格
	private Float discountprice2 = 10.00F; // 活动期间价格(包厢价)
	private String discountpricedes =""; // 订金(大厅价)抵用
	private String discountprice2des =""; // 订金(包厢价)抵用
	private String discounttext = ""; // 活动详情
	private String discountremark = ""; // 活动简介
	private Integer alive = 0; // 商家是否生效 0否1是
	
	private Integer score = 100; // 商家分数
	private String pricedivide = ""; // 预订费分成
	
	private Integer editer = 2; // 录入人
	private Date createdate = new Date(); // 录入期
	private Date alivedate;
	private Integer real = 1; // 商家是否为真实商家
	//pricedivide
	private Integer isnewpage = 0; // 是否跳转新页面
	private String coupon = ""; // 活动简介
	private Integer comment = 0; // 当天评论数量
	private Integer commentday = 0; //重置评论日期标识
	
	
	public String getPosx_g() {
		return posx_g;
	}



	public void setPosx_g(String posxG) {
		posx_g = posxG;
	}



	public String getPosy_g() {
		return posy_g;
	}



	public void setPosy_g(String posyG) {
		posy_g = posyG;
	}



	public Integer getComment() {
		return comment;
	}



	public void setComment(Integer comment) {
		this.comment = comment;
	}



	public Integer getCommentday() {
		return commentday;
	}



	public void setCommentday(Integer commentday) {
		this.commentday = commentday;
	}



	public String getBankacc() {
		return bankacc;
	}



	public void setBankacc(String bankacc) {
		this.bankacc = bankacc;
	}



	public String getBankaccname() {
		return bankaccname;
	}



	public void setBankaccname(String bankaccname) {
		this.bankaccname = bankaccname;
	}



	public Integer getIsnew() {
		return isnew;
	}



	public void setIsnew(Integer isnew) {
		this.isnew = isnew;
	}



	public String getBookreq() {
		return bookreq;
	}



	public void setBookreq(String bookreq) {
		this.bookreq = bookreq;
	}



	public String getSenddiscount() {
		return senddiscount;
	}



	public void setSenddiscount(String senddiscount) {
		this.senddiscount = senddiscount;
	}



	public Integer getShopstyle() {
		return shopstyle;
	}



	public void setShopstyle(Integer shopstyle) {
		this.shopstyle = shopstyle;
	}



	public Date getEnddate() {
		return enddate;
	}



	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}



	public Integer getShoptype() {
		return shoptype;
	}



	public void setShoptype(Integer shoptype) {
		this.shoptype = shoptype;
	}



	public String getBossphone() {
		return bossphone;
	}



	public void setBossphone(String bossphone) {
		this.bossphone = bossphone;
	}



	public Integer getLoge0() {
		return loge0;
	}



	public void setLoge0(Integer loge0) {
		this.loge0 = loge0;
	}



	public Integer getLoge1() {
		return loge1;
	}



	public void setLoge1(Integer loge1) {
		this.loge1 = loge1;
	}



	public Integer getWifi() {
		return wifi;
	}



	public void setWifi(Integer wifi) {
		this.wifi = wifi;
	}



	public Integer getPark() {
		return park;
	}



	public void setPark(Integer park) {
		this.park = park;
	}



	public Integer getVisa() {
		return visa;
	}



	public void setVisa(Integer visa) {
		this.visa = visa;
	}



	public String getOtherservice() {
		return otherservice;
	}



	public void setOtherservice(String otherservice) {
		this.otherservice = otherservice;
	}



	public Integer getSendtype() {
		return sendtype;
	}



	public void setSendtype(Integer sendtype) {
		this.sendtype = sendtype;
	}



	public String getSendtime() {
		return sendtime;
	}



	public void setSendtime(String sendtime) {
		this.sendtime = sendtime;
	}



	public String getSendrange() {
		return sendrange;
	}



	public void setSendrange(String sendrange) {
		this.sendrange = sendrange;
	}



	public String getSendfee() {
		return sendfee;
	}



	public void setSendfee(String sendfee) {
		this.sendfee = sendfee;
	}



	public String getSendreq() {
		return sendreq;
	}



	public void setSendreq(String sendreq) {
		this.sendreq = sendreq;
	}



	public Integer getSendpaymethod() {
		return sendpaymethod;
	}



	public void setSendpaymethod(Integer sendpaymethod) {
		this.sendpaymethod = sendpaymethod;
	}



	public String getCoupon1() {
		return coupon1;
	}



	public void setCoupon1(String coupon1) {
		this.coupon1 = coupon1;
	}



	public String getCoupon2() {
		return coupon2;
	}



	public void setCoupon2(String coupon2) {
		this.coupon2 = coupon2;
	}



	public String getCoupon3() {
		return coupon3;
	}



	public void setCoupon3(String coupon3) {
		this.coupon3 = coupon3;
	}



	public String getBookpriceuse() {
		return bookpriceuse;
	}



	public void setBookpriceuse(String bookpriceuse) {
		this.bookpriceuse = bookpriceuse;
	}



	public Integer getIscoupon() {
		return iscoupon;
	}



	public void setIscoupon(Integer iscoupon) {
		this.iscoupon = iscoupon;
	}



	public String getCoupon() {
		return coupon;
	}



	public void setCoupon(String coupon) {
		this.coupon = coupon;
	}



	public Integer getIsnewpage() {
		return isnewpage;
	}



	public void setIsnewpage(Integer isnewpage) {
		this.isnewpage = isnewpage;
	}



	public Integer getScore() {
		return score;
	}
	
	

	public String getPosx() {
		return posx;
	}



	public void setPosx(String posx) {
		this.posx = posx;
	}



	public String getPosy() {
		return posy;
	}



	public void setPosy(String posy) {
		this.posy = posy;
	}



	public Integer getReal() {
		return real;
	}



	public void setReal(Integer real) {
		this.real = real;
	}



	public Date getAlivedate() {
		return alivedate;
	}



	public void setAlivedate(Date alivedate) {
		this.alivedate = alivedate;
	}



	public String getPicht() {
		return picht;
	}



	public void setPicht(String picht) {
		this.picht = picht;
	}



	public String getDescription2() {
		return description2;
	}



	public void setDescription2(String description2) {
		this.description2 = description2;
	}



	public Integer getAddscore() {
		return addscore;
	}



	public void setAddscore(Integer addscore) {
		this.addscore = addscore;
	}



	public Integer getBooktype() {
		return booktype;
	}



	public void setBooktype(Integer booktype) {
		this.booktype = booktype;
	}



	public Float getDiscount() {
		return discount;
	}



	public void setDiscount(Float discount) {
		this.discount = discount;
	}



	public void setScore(Integer score) {
		this.score = score;
	}

	public String getPricedivide() {
		return pricedivide;
	}

	public void setPricedivide(String pricedivide) {
		this.pricedivide = pricedivide;
	}

	public Integer getEditer() {
		return editer;
	}

	public void setEditer(Integer editer) {
		this.editer = editer;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public String getBookpricedes() {
		return bookpricedes;
	}

	public void setBookpricedes(String bookpricedes) {
		this.bookpricedes = bookpricedes;
	}

	public String getBookprice2des() {
		return bookprice2des;
	}

	public void setBookprice2des(String bookprice2des) {
		this.bookprice2des = bookprice2des;
	}

	public String getDiscountpricedes() {
		return discountpricedes;
	}

	public void setDiscountpricedes(String discountpricedes) {
		this.discountpricedes = discountpricedes;
	}

	public String getDiscountprice2des() {
		return discountprice2des;
	}

	public void setDiscountprice2des(String discountprice2des) {
		this.discountprice2des = discountprice2des;
	}

	public Integer getDelay() {
		return delay;
	}

	public void setDelay(Integer delay) {
		this.delay = delay;
	}

	public Integer getDelay2() {
		return delay2;
	}

	public void setDelay2(Integer delay2) {
		this.delay2 = delay2;
	}

	public Integer getLoge() {
		return loge;
	}

	public void setLoge(Integer loge) {
		this.loge = loge;
	}

	public Float getBookprice2() {
		return bookprice2;
	}

	public void setBookprice2(Float bookprice2) {
		this.bookprice2 = bookprice2;
	}

	public Float getDiscountprice2() {
		return discountprice2;
	}

	public void setDiscountprice2(Float discountprice2) {
		this.discountprice2 = discountprice2;
	}

	public String getDiscountremark() {
		return discountremark;
	}

	public void setDiscountremark(String discountremark) {
		this.discountremark = discountremark;
	}

	public String getPic9() {
		return pic9;
	}

	public void setPic9(String pic9) {
		this.pic9 = pic9;
	}

	public Date getDiscountbeg() {
		return discountbeg;
	}

	public void setDiscountbeg(Date discountbeg) {
		this.discountbeg = discountbeg;
	}

	public Date getDiscountend() {
		return discountend;
	}

	public void setDiscountend(Date discountend) {
		this.discountend = discountend;
	}

	public Float getDiscountprice() {
		return discountprice;
	}

	public void setDiscountprice(Float discountprice) {
		this.discountprice = discountprice;
	}

	public String getDiscounttext() {
		return discounttext;
	}

	public void setDiscounttext(String discounttext) {
		this.discounttext = discounttext;
	}

	public Float getBookprice() {
		return bookprice;
	}

	public void setBookprice(Float bookprice) {
		this.bookprice = bookprice;
	}

	public String getPic1() {
		if (pic1 == null) {
			return "";
		} else {
			return pic1;
		}

	}

	public String getStylevalue() {
		return stylevalue;
	}

	public void setStylevalue(String stylevalue) {
		this.stylevalue = stylevalue;
	}

	public String getPurposevalue() {
		return purposevalue;
	}

	public void setPurposevalue(String purposevalue) {
		this.purposevalue = purposevalue;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}

	public String getName1() {
		return name1;
	}

	public void setName1(String name1) {
		this.name1 = name1;
	}

	public Integer getStyleType() {
		return styleType;
	}

	public void setStyleType(Integer styleType) {
		this.styleType = styleType;
	}

	public String getSuggest() {
		return suggest;
	}

	public void setSuggest(String suggest) {
		this.suggest = suggest;
	}

	public Integer getIssend() {
		return issend;
	}

	public void setIssend(Integer issend) {
		this.issend = issend;
	}

	public Integer getIsbooking() {
		return isbooking;
	}

	public void setIsbooking(Integer isbooking) {
		this.isbooking = isbooking;
	}

	public Integer getHot() {
		return hot;
	}

	public void setHot(Integer hot) {
		this.hot = hot;
	}

	public String getPic4() {
		return pic4;
	}

	public void setPic4(String pic4) {
		this.pic4 = pic4;
	}

	public String getPic5() {
		return pic5;
	}

	public void setPic5(String pic5) {
		this.pic5 = pic5;
	}

	public String getPic6() {
		return pic6;
	}

	public void setPic6(String pic6) {
		this.pic6 = pic6;
	}

	public String getPic7() {
		return pic7;
	}

	public void setPic7(String pic7) {
		this.pic7 = pic7;
	}

	public String getPic8() {
		return pic8;
	}

	public void setPic8(String pic8) {
		this.pic8 = pic8;
	}

	public void setPic1(String pic1) {
		this.pic1 = pic1;
	}

	public String getPic2() {
		if (pic2 == null) {
			return "";
		} else {
			return pic2;
		}
	}

	public void setPic2(String pic2) {
		this.pic2 = pic2;
	}

	public String getPic3() {
		if (pic3 == null) {
			return "";
		} else {
			return pic3;
		}
	}

	public void setPic3(String pic3) {
		this.pic3 = pic3;
	}

	/** default constructor */
	public DdShop() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getShophours() {
		if (shophours == null) {
			return "";
		} else {
			return shophours;
		}
	}

	public void setShophours(String shophours) {
		this.shophours = shophours;
	}

	public String getPhone() {
		if (phone == null) {
			return "";
		} else {
			return phone;
		}
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMobile() {
		if (mobile == null) {
			return "";
		} else {
			return mobile;
		}
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getAddress() {
		if (address == null) {
			return "";
		} else {
			return address;
		}
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getArea() {
		if (area == null) {
			return "";
		} else {
			return area;
		}
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getRoad() {
		if (road == null) {
			return "";
		} else {
			return road;
		}
	}

	public void setRoad(String road) {
		this.road = road;
	}

	public String getLandmark() {
		if (landmark == null) {
			return "";
		} else {
			return landmark;
		}
	}

	public void setLandmark(String landmark) {
		this.landmark = landmark;
	}

	public String getRange() {
		if (range == null) {
			return "";
		} else {
			return range;
		}
	}

	public void setRange(String range) {
		this.range = range;
	}

	public String getBus() {
		if (bus == null) {
			return "";
		} else {
			return bus;
		}
	}

	public void setBus(String bus) {
		this.bus = bus;
	}

	public String getParking() {
		if (parking == null) {
			return "";
		} else {
			return parking;
		}
	}

	public void setParking(String parking) {
		this.parking = parking;
	}

	public String getDescription() {
		if (description == null) {
			return "";
		} else {
			return description;
		}
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getStyle() {
		return style;
	}

	public void setStyle(Long style) {
		this.style = style;
	}

	public Integer getCost() {
		return cost;
	}

	public void setCost(Integer cost) {
		this.cost = cost;
	}

	public Integer getPurpose() {
		return purpose;
	}

	public void setPurpose(Integer purpose) {
		this.purpose = purpose;
	}

	public String getService() {
		if (service == null) {
			return "";
		} else {
			return service;
		}
	}

	public void setService(String service) {
		this.service = service;
	}

	public String getNumber() {
		if (number == null) {
			return "";
		} else {
			return number;
		}
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getNumbertype() {
		if (numbertype == null) {
			return "";
		} else {
			return numbertype;
		}
	}

	public void setNumbertype(String numbertype) {
		this.numbertype = numbertype;
	}

	public Integer getBelong() {
		return this.belong;
	}

	public void setBelong(Integer belong) {
		this.belong = belong;
	}

	public Integer getAlive() {
		return alive;
	}

	public void setAlive(Integer alive) {
		this.alive = alive;
	}

}